WEEKNUM calculates the week number of the year for the internal date value.
WEEKNUM は、内部日付番号が、1 年の何週目であるかを返します。
![]() | The International Standard ISO 8601 has decreed that Monday shall be the first day of the week. A week that lies partly in one year and partly in another is assigned a number in the year in which most of its days lie. That means that week number 1 of any year is the week that contains the January 4th.
国際標準 ISO 8601 は、月曜を週の最初の日とすべきであると宣言しています。2 年にまたがる週には、日数が多いほうの年で番号が割り当てられます。つまり、どの年の 1 週目も、1 月 4 日を含みます。 |
WEEKNUM(Number; Mode)
WEEKNUM(数値; モード)
Number is the internal date number.
数値 には日付のシリアル値を入力します。
Mode sets the start of the week and the calculation type.
モード で週の始まりや計算方法を指定します。
1 = Sunday
1 = 日曜日
2 = Monday
2 = 月曜日
=WEEKNUM("1995-01-01";1) returns 1
=WEEKNUM("1995-01-01";1) は、1 を返します。
=WEEKNUM("1995-01-01";2) returns 52. If the week starts on Monday, Sunday belongs to the last week of the previous year.
=WEEKNUM("1995-01-01";2) は、52 を返します。週が月曜から始まる場合、日曜は前年の最後の週に属します。